package com.million.orderservice.client;

import com.million.commonutils.orderVo.CourseOrderVo;
import com.million.servicebase.exception.GuliException;
import org.springframework.stereotype.Component;

/**
 * @Author: studyboy
 * @Date: 2022/4/9  17:48
 */
@Component
public class CourseOrderClientFallBack implements CourseOrderClient{

    @Override
    public CourseOrderVo getOrderCourseInfo (String courseId) {
       throw new GuliException(20001,"查询不到课程信息");
    }
}
